package cn.tedu.ivos.repair.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class RepairSaveParam {
        @ApiModelProperty(value = "维修单id")
        private Long id;
        @ApiModelProperty(value = "维修材料id")
        private String material;
        @ApiModelProperty(value = "维修时间")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private Date repairTime;
        @ApiModelProperty(value = "维修项目")
        private String item;
        @ApiModelProperty(value = "维修费用")
        private BigDecimal fee;
        @ApiModelProperty(value = "维修地点")
        private String addr;
        @ApiModelProperty(value = "维修车辆")
        private Long vehicleId;
        @ApiModelProperty(value = "维修人id")
        private Long userId;
        @ApiModelProperty(value = "送修人姓名")
        private String username;
        @ApiModelProperty(value = "维修状态")
        private String status;
        @ApiModelProperty(value = "创建时间")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private Date createTime;
        @ApiModelProperty(value = "修改时间")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private Date updateTime;
}
